package com.f37.f37git001.controller;

import com.f37.f37git001.bean.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 */
@RestController
public class UserController {
    @GetMapping("/user")
    public User user() {
        User user = new User();
        user.setId("123");
        user.setName("321");
        user.setPassword("123456");
        user.setNick("000");
        user.setAge(100);
        user.setSex("111");
        return user;
    }
}
